<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>指尖上行</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="../../css/css.css">
<link rel="stylesheet" href="../../css/RaceClanList.css">
<link rel="stylesheet" href="../../../bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
<link rel="stylesheet" href="../../../bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../bower_components/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../bower_components/Ionicons/css/ionicons.min.css">
<link rel="stylesheet" href="../../../dist/css/AdminLTE.min.css">
<link rel="stylesheet" href="../../../dist/css/skins/_all-skins.min.css">
<link rel="stylesheet" href="../../../bower_components/jvectormap/jquery-jvectormap.css">
<link rel="stylesheet" href="../../../bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">
<link rel="stylesheet" href="../../../bower_components/bootstrap-daterangepicker/daterangepicker.css">
<link rel="stylesheet" href="../../../plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
</head>
<body class="hold-transition skin-blue sidebar-mini"  data-treeview="2" data-treeview-menu="3">
<div class="wrapper">
  <header class="main-header"> <a class="logo"> <span class="logo-mini"><b>指</b></span> <span class="logo-lg"><img src="../../img/logo.png"/></span></a>
    <nav class="navbar navbar-static-top"><a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button"></a></nav>
  </header>
  <aside class="main-sidebar">
    <section class="sidebar">
      <ul class="sidebar-menu" data-widget="tree">
      </ul>
    </section>
  </aside>
  <div class="content-wrapper">
    <section class="content-search">
      <div class="form-group">
        <label>战队名称</label>
        <input type="text" class="form-control w140" placeholder="战队名称" id="troopsName">
      </div>
      <div class="form-group">
        <label>队长身份证</label>
        <input type="text" class="form-control w140" placeholder="队长身份证" id="idCard">
      </div>
      <div class="form-group">
        <label>队长手机号</label>
        <input type="text" class="form-control w140" placeholder="队长手机号" id="phone">
      </div>
      <div class="form-group">
        <label>队长昵称</label>
        <input type="text" class="form-control w140" placeholder="队长昵称" id="nickName">
      </div>
      <div class="form-group">
        <label>游戏类型</label>
        <select class="form-control w140" id="gameType">
        </select>
      </div>
      <div class="form-group">
        <button type="button" class="btn btn-primary btnsearch">搜索</button>
      </div>
    </section>
    <!-- 队伍信息窗口 -->
    <div class="modal fade" id="modal-information" style="display: none;">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span></button>
            <h4 class="modal-title">队伍信息</h4>
          </div>
          <div class="modal-body">
            <div class="box box-primary">
              <div class="box-body">
                <h4>战队队员</h4>
                <div class="teamleader"><span></span></div>
                <ul>
                </ul>
                <h4>战队参赛记录</h4>
                <table class="table table-bordered">
                  <tbody>
                  </tbody>
                </table>
              </div>
            </div>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default pull-left" data-dismiss="modal">取消</button>
            <button type="button" class="btn btn-primary change"  data-toggle="modal" data-target="#modal-change">更换队长</button>
          </div>
        </div>
      </div>
    </div>
    <!-- 删除窗口 -->
    <div class="modal fade" id="modal-delete" style="display: none;">
      <div class="modal-dialog w400">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span></button>
            <h4 class="modal-title">确认</h4>
          </div>
          <div class="modal-body">确认封禁战队吗？</div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default pull-left" data-dismiss="modal">取消</button>
            <button type="button" class="btn btn-primary btndelete">确认</button>
          </div>
        </div>
      </div>
    </div>
    <!-- 更换队长 -->
    <div class="modal fade" id="modal-change" style="display: none;">
      <div class="modal-dialog w400">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span></button>
            <h4 class="modal-title">更换队长</h4>
          </div>
          <div class="modal-body">
            <h4>更换谁为队长</h4>
            <ul>
            </ul>
            <h4>身份证号</h4>
            <input type="text" class="form-control w250 idcard">
            <h4>真实姓名</h4>
            <input type="text" class="form-control w250 readName">
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default pull-left" data-dismiss="modal">取消</button>
            <button type="button" class="btn btn-primary btnchange">确认</button>
          </div>
        </div>
      </div>
    </div>
    <section class="content">
      <div class="box">
        <div class="box-header">
          <h3 class="box-title">战队列表</h3>
        </div>
        <div class="box-body">
          <table id="example1" class="table table-bordered table-striped">
          </table>
          <div class="paginationDiv">
            <ul class="pagination">
              <li class="prev"><a>上一页</a></li>
              <li class="next"><a>下一页</a></li>
            </ul>
            <input type="text" value="1" class="form-control curpage"/>
            <button type="button" class="btn btn-default gopage">跳转</button>
            <span class="pageinfo"></span> 
          </div>
        </div>
      </div>
    </section>
  </div>
</div>
<script type="text/html" id="datalist">
  <thead>
     <tr role="row">
		<th>ID</th>
		<th>战队名称</th>
		<th>游戏分类</th>
		<th>队长账号</th>
		<th>队长昵称</th>
		<th>战队图片</th>
		<th>战队人数</th>
		<th>队长身份证</th>
		<th>队长手机号</th>
		<th>操作</th>
    </tr>
    </thead>
  <tbody>
  <%for(var i = 0,len= dataset.length;i < len;i++){%>
    <tr role="row">
		<td><%= dataset[i].troopsId%></td>
		<td><%= dataset[i].troopsName%></td>
		<td><%= dataset[i].gameType==1?"王者荣耀":"绝地求生"%></td>
		<td><%= dataset[i].phone%></td>
		<td><%= dataset[i].nickName%></td>
		<td><img src="<%= dataset[i].troopsUrl%>" width="80px" height="45px"></td>
		<td><%= dataset[i].troopsNumbers%></td>
		<td><%= dataset[i].idCard%></td>
		<td><%= dataset[i].phone%></td>
		<td><button type="button" class="btn btn-info btn-xs information" data-toggle="modal" data-target="#modal-information"  data-id="<%= dataset[i].id%>">队伍信息</button>
		  <button type="button" class="btn btn-info btn-xs delete" data-toggle="modal" data-target="#modal-delete" data-id="<%= dataset[i].id%>"><%= dataset[i].status==0?'封禁战队':'解封战队'%></button></td>
      </tr>
  <%}%>
    </tbody>
</script> 
<script type="text/html" id="selectlist">
    <option data-id="0">全部</option>
	<%for(var i = 0,len= dataset.length;i < len;i++){%>
	   <option data-id="<%= dataset[i].enumId%>"><%= dataset[i].enumName%></option>
	<%}%>
</script> 
<script src="../../../bower_components/jquery/dist/jquery.min.js"></script> 
<script src="../../../bower_components/jquery-ui/jquery-ui.min.js"></script> 
<script src="../../../bower_components/bootstrap/dist/js/bootstrap.min.js"></script> 
<script src="../../../bower_components/raphael/raphael.min.js"></script> 
<script src="../../../bower_components/jquery-sparkline/dist/jquery.sparkline.min.js"></script> 
<script src="../../../plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script> 
<script src="../../../plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script> 
<script src="../../../bower_components/jquery-knob/dist/jquery.knob.min.js"></script> 
<script src="../../../bower_components/moment/min/moment.min.js"></script> 
<script src="../../../bower_components/bootstrap-daterangepicker/daterangepicker.js"></script> 
<script src="../../../bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script> 
<script src="../../../plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script> 
<script src="../../../bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script> 
<script src="../../../bower_components/fastclick/lib/fastclick.js"></script> 
<script src="../../../dist/js/adminlte.min.js"></script> 
<script src="../../js/template-web.js"></script>  
<script src="../../js/js.js"></script> 
<script src="../../js/RaceClanList.js"></script> 
</body>
</html>
